import Vue from "vue";
import {
  Cell,
  CellGroup,
  Calendar,
  Collapse,
  CollapseItem,
  DropdownMenu,
  DropdownItem,
  Grid,
  GridItem,
  Swipe,
  SwipeItem,
  Sticky,
  Tabbar,
  TabbarItem,
  Row,
  Col,
  NavBar,
  Notify,
  Pagination,
  List,
  Toast,
  Search,
  NoticeBar,
  Icon,
  Tab,
  Tabs,
  Lazyload,
  Image,
  Divider,
  PullRefresh,
  Loading,
  Checkbox,
  Radio,
  Panel,
  Button,
  Field,
  CheckboxGroup,
  RadioGroup,
  Form,
  IndexBar,
  IndexAnchor,
  Popup,
  ImagePreview,
  ActionSheet,
  Overlay,
  Uploader,
  Rate,
  Empty,
  Dialog,
  picker
} from "vant";

Vue.use(Grid)
  .use(Cell)
  .use(CellGroup)
  .use(Calendar)
  .use(Collapse)
  .use(CollapseItem)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(GridItem)
  .use(Swipe)
  .use(SwipeItem)
  .use(Sticky)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Row)
  .use(Col)
  .use(Notify)
  .use(NavBar)
  .use(Pagination)
  .use(List)
  .use(Toast)
  .use(Search)
  .use(NoticeBar)
  .use(Icon)
  .use(Tab)
  .use(Tabs)
  .use(Lazyload, {
    lazyComponent: true
  })
  .use(Image)
  .use(Loading)
  .use(Image)
  .use(Divider)
  .use(PullRefresh)
  .use(Loading)
  .use(Checkbox)
  .use(Radio)
  .use(Panel)
  .use(Button)
  .use(Field)
  .use(CheckboxGroup)
  .use(RadioGroup)
  .use(Form)
  .use(IndexAnchor)
  .use(IndexBar)
  .use(Popup)
  .use(ImagePreview)
  .use(ActionSheet)
  .use(Overlay)
  .use(Uploader)
  .use(Rate)
  .use(Empty)
  .use(picker)
  .use(Dialog);
